package com.langsin.wanghongxiang.mapper;

import com.langsin.bean.Orders;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface OrdersMapper {
    Orders queryOrdersAndUserByOrdersId(Integer orderId);
//    @Select("select * from orders where userId = #{userId}")

    List<Orders> queryOrdersByUserId(Integer userId);
}
